<?php

use Illuminate\Routing\Router;

Route::group([], function (Router $router) {
    $router->group([
        'prefix' => 'project',
        'namespace' => 'Project',
        'as' => 'project.',
    ], function (\Illuminate\Routing\Router $router) {
        $router->resource('transverseCompletes', 'TransverseCompleteController');

        $router->any('transverses/{id}/complete', 'TransverseCompleteController@complete')->name('transverses.complete');

    });
});
